package com.team7.happycommunity.businessservice.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * (PpPayservice)实体类
 *
 * @author makejava
 * @since 2020-03-26 21:40:52
 */
@ApiModel(value = "服务实体类")
public class PpPayservice implements Serializable {
    private static final long serialVersionUID = -99092034779783807L;
    @ApiModelProperty(value = "服务订单")
    private ServiceOrder serviceOrder;
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "物业id")
    private Integer propertyid;
    @ApiModelProperty(value = "商家id")
    private Integer shopid;
    @ApiModelProperty(value = "服务名称")
    private String payname;
    @ApiModelProperty(value = "服务金额")
    private String payprice;
    @ApiModelProperty(value = "服务时间")
    private String paytime;
    @ApiModelProperty(value = "服务状态")
    private Integer status;

    private String icon;
    @ApiModelProperty(value = "服务类型")
    private Integer serviceType;
    @ApiModelProperty(value = "商家信息")
    private BusinessInfo businessInfo;

    public BusinessInfo getBusinessInfo() {
        return businessInfo;
    }

    public void setBusinessInfo(BusinessInfo businessInfo) {
        this.businessInfo = businessInfo;
    }

    public PpPayservice() {
    }
    @ApiModelProperty(value = "服务图片")
    private List<ServiceImg> img;
    @ApiModelProperty(value = "用户id")
    private Integer userId;//用户id

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public ServiceOrder getServiceOrder() {
        return serviceOrder;
    }

    public void setServiceOrder(ServiceOrder serviceOrder) {
        this.serviceOrder = serviceOrder;
    }

    public PpPayservice(ServiceOrder serviceOrder, Integer id, Integer propertyid, Integer shopid, String payname, String payprice, String paytime, Integer status, String icon, Integer serviceType, BusinessInfo businessInfo, List<ServiceImg> img, Integer userId, Integer payway, String servicecontext) {
        this.serviceOrder = serviceOrder;
        this.id = id;
        this.propertyid = propertyid;
        this.shopid = shopid;
        this.payname = payname;
        this.payprice = payprice;
        this.paytime = paytime;
        this.status = status;
        this.icon = icon;
        this.serviceType = serviceType;
        this.businessInfo = businessInfo;
        this.img = img;
        this.userId = userId;
        this.payway = payway;
        this.servicecontext = servicecontext;
    }

    /**
    * 支付方式
    */
    private Integer payway;
    /**
    * 服务描述
    */
    private String servicecontext;

    public List<ServiceImg> getImg() {
        return img;
    }

    public void setImg(List<ServiceImg> img) {
        this.img = img;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPropertyid() {
        return propertyid;
    }

    public void setPropertyid(Integer propertyid) {
        this.propertyid = propertyid;
    }

    public Integer getShopid() {
        return shopid;
    }

    public void setShopid(Integer shopid) {
        this.shopid = shopid;
    }

    public String getPayname() {
        return payname;
    }

    public void setPayname(String payname) {
        this.payname = payname;
    }

    public String getPayprice() {
        return payprice;
    }

    public void setPayprice(String payprice) {
        this.payprice = payprice;
    }

    public String getPaytime() {
        return paytime;
    }

    public void setPaytime(String paytime) {
        this.paytime = paytime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    public Integer getPayway() {
        return payway;
    }

    public void setPayway(Integer payway) {
        this.payway = payway;
    }

    public String getServicecontext() {
        return servicecontext;
    }

    public void setServicecontext(String servicecontext) {
        this.servicecontext = servicecontext;
    }

}